package com.gz.service;

import java.util.HashMap;

public class MangeClientConnectServerThread {
    private static HashMap<String,ClientConnectServerThread> hashMap=new HashMap<>();

    public static void addClientConnectServerThread(String userId,ClientConnectServerThread c){
        hashMap.put(userId,c);
    }
    public static ClientConnectServerThread getClientConnectServerThread(String userId) {
        return hashMap.get(userId);
    }
}
